<?php
/**
 * Created by PhpStorm.
 * User: Dave
 * Date: 2018/6/22
 * Time: 18:35
 */

namespace Biz\tools;


class IsTestShop
{
    const TEST_SHOP_IDS = [
        3192940,
        3657469
    ];

    public static function getTestShopIds()
    {
        return self::TEST_SHOP_IDS;
    }

    public static function isTestShop($shopId)
    {
        return in_array($shopId, self::TEST_SHOP_IDS);
    }

    public static function filterTestShopIds($shopIds)
    {
        return array_diff($shopIds, self::TEST_SHOP_IDS);
    }
}